package org.samith.scheduler;

import javax.ejb.EJB;
import javax.ejb.Stateless;

@Stateless
public class SheduleRunner implements ISheduleRunner {
	
	@EJB
	IBillPaymentNotify billReminder;

	@Override
	public void startAllShedulers() {
		billReminder.startScanDueBillPaymentUsers();
	}

	@Override
	public void shutDownAllSchedulers() {
		billReminder.cancelScanDueBillPaymentUsers();
	}
	
	
}
